package com.jch.helloworld.configBeans.BeanScope;

public class Demo {

    private int id;
    private String name;
    private double attr0;
    private char attr1;

    public Demo() {
    }

    public Demo(int id, String name, double attr0, char attr1) {
        this.id = id;
        this.name = name;
        this.attr0 = attr0;
        this.attr1 = attr1;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getAttr0() {
        return attr0;
    }

    public void setAttr0(double attr0) {
        this.attr0 = attr0;
    }

    public char getAttr1() {
        return attr1;
    }

    public void setAttr1(char attr1) {
        this.attr1 = attr1;
    }

    @Override
    public String toString() {
        return "Demo{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", attr0=" + attr0 +
                ", attr1=" + attr1 +
                '}';
    }
}
